package com.lau.xstream.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by liutf on 2016/6/13.
 */
public class Blog {

    private Author writer;
    private List entries = new ArrayList<>();

    public Blog(Author writer) {
        this.writer = writer;
    }

    public void add(Entry entry){
        entries.add(entry);
    }

    public List getContent(){
        return entries;
    }

}
